package com.yida.gwj.vote.outside.domain.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author lqq
 * @date 2023-03-27
 */
@ApiModel("投票结果详情请求")
public class GwjVoteResultDetailQueryRequest implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty("投票ID")
	@NotNull(message = "请求参数有误[voteId]为空")
	private Long voteId;

	@ApiModelProperty("业主名称")
	private String ownerName;

	@ApiModelProperty("投票方式")
	private String voteType;

	public Long getVoteId() {
		return voteId;
	}

	public void setVoteId(Long voteId) {
		this.voteId = voteId;
	}

	public String getOwnerName() {
		return ownerName;
	}

	public void setOwnerName(String ownerName) {
		this.ownerName = ownerName;
	}

	public String getVoteType() {
		return voteType;
	}

	public void setVoteType(String voteType) {
		this.voteType = voteType;
	}

	@Override
	public String toString() {
		final StringBuffer sb = new StringBuffer("VoteResultDetailQueryRequest{");
		sb.append("voteId=").append(voteId);
		sb.append(", ownerName='").append(ownerName).append('\'');
		sb.append(", voteType='").append(voteType).append('\'');
		sb.append('}');
		return sb.toString();
	}
}
